<%@ page import="java.util.Date" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<%--<%@ page errorPage="error/500.jsp" %>--%>
<html>
<head>
    <title>JSP</title>
</head>
<body>
<%=
new Date()
%>

<%
    int i = 1 / 1;
    String name = "jago";
%>
<h1>${name}</h1>
<%@include file="common/header.jsp" %>
<h1>网页主体</h1>

<%-- 将两个页面合二为一 --%>
<%--<%@include file="common/footer.jsp" %>--%>
<%--JSP标签的实现--%>
<%-- 拼接两个页面 --%>
<jsp:include page="common/footer.jsp"/>
</body>
</html>
